package com.mdd.admin.service.order;

import com.mdd.admin.validate.order.OrderPayInfoCreateValidate;
import com.mdd.admin.validate.order.PayInfoSearchValidate;
import com.mdd.admin.validate.order.PayInfoUpdateValidate;
import com.mdd.admin.vo.order.OrderPayInfoDetailVo;
import com.mdd.admin.vo.order.OrderPayInfoVo;
import com.mdd.common.base.page.PageValidate;
import com.mdd.common.core.PageResult;

/**
 * 订单支付信息服务接口类
 * @author LikeAdmin
 */
public interface IOrderPayInfoService {

    /**
     * 订单支付信息列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<OrderPayInfoListedVo>
     */
    PageResult<OrderPayInfoVo> list(PageValidate pageValidate, PayInfoSearchValidate searchValidate);

    /**
     * 订单支付信息详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return OrderPayInfoDetailVo
     */
    OrderPayInfoDetailVo detail(Long id);

    /**
     * 订单支付信息新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(OrderPayInfoCreateValidate createValidate);

    /**
     * 订单支付信息编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(PayInfoUpdateValidate updateValidate);

    /**
     * 订单支付信息删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Long id);

}
